package com.songlanyun.modules.singlegoods.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.singlegoods.entity.UnderStockRecordEntity;
import com.songlanyun.modules.singlegoods.model.UnderStockRecordDTO;

import java.util.Map;

/**
 * 库存不足记录表
 *
 * @author wuchao
 * @email sunlightcs@gmail.com
 * @date 2021-03-18 15:09:05
 */
public interface UnderStockRecordService extends IService<UnderStockRecordEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void add(UnderStockRecordDTO dto);

    void inStock(Long singleGoodsId);
}

